package com.test.ita;

/**
 * Created by IntelliJ IDEA.
 * User: gpss
 * Date: 7/14/11
 * Time: 12:38 AM
 * To change this template use File | Settings | File Templates.
 */
public class RebusNode {
    public RebusNode(String picture,int cost,RebusNode left, RebusNode right) {
         this.rebus = picture;
         this.cost = cost;
        this.left = left;
        this.right = right;
     }

    public String getRebus() {
        return rebus;
    }

    public void setRebus(String rebus) {
        this.rebus = rebus;
    }

    public int getCost() {
        return cost;
    }

    public void setCost(int cost) {
        this.cost = cost;
    }

    public RebusNode getLeft() {
        return left;
    }

    public void setLeft(RebusNode left) {
        this.left = left;
    }

    public RebusNode getRight() {
        return right;
    }

    public void setRight(RebusNode right) {
        this.right = right;
    }

    private String rebus;
    private int cost;
    private RebusNode left;
    private RebusNode right;

}
